* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0e1739;
}

.box {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    width: 300px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.box::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 120%;
    background: linear-gradient(#319ef5, #9f2cd3);
    border-radius: 10px;
    animation: animate 2s linear infinite;
}

.box::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: #0e1739;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.box h2 {
    font-size: 10em;
    color: #fff;
    z-index: 10;
}